# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-terminal
pkgver=1.1.2
pkgrel=0
pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
url="https://docs.xfce.org/apps/xfce4-terminal/start"
arch="all"
license="GPL-2.0-or-later"
depends="hicolor-icon-theme"
makedepends="
	exo-dev
	libxfce4ui-dev
	pcre2-dev
	vte3-dev
	"
replaces="terminal"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-terminal/${pkgver%.*}/xfce4-terminal-$pkgver.tar.bz2"

build() {
	LIBS="-lintl" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
ffd0975dc839e256ee18c8a5cb01025bfc2703af7d379d565ea861482269698c718c4cca408440cdc76ef7c6ccacaa6816da7f6734b1aef004cfb223f657243a  xfce4-terminal-1.1.2.tar.bz2
"
